package k2_oop.p1_classAndObject.demo04;

public class TestDemo4 {

    public static void main(String[] args) {

        Player yaoMing = new Player();
        Player kobe = new Player();

        yaoMing.name = "姚明";
        yaoMing.height = 2.15;
        yaoMing.weight = 235;

        kobe.name = "科比";
        kobe.height = 1.98;
        kobe.weight = 3;


        System.out.println(yaoMing.name+"，身高："+yaoMing.height+"米,体重："+yaoMing.weight+"公斤");
        System.out.println(kobe.name+"，身高："+kobe.height+"米,体重："+kobe.weight+"公斤");

    }

}
